// 送货通知管理 purchase/delivery-notice/list
// 逻辑：某页面跳转到送货通知首页，根据参数deliveryNotificationNumbers去查表
handleDeliveryNotice(value) {
  const { history } = this.props;
  history.push(`/purchase/delivery-notice/list?deliveryNotificationNumbers=${value}`);
}
// 路由变化时若携带查询参数且参数为deliveryNotificationNumbers时设置ds并查表
useEffect(() => {
  const { search } = location;
  if (search && search.length > 0) {
    const searchData = search.slice(1);
    const middleParam = qs.parse(searchData);
    if (middleParam.deliveryNotificationNumbers) {
      dataSet.current!.set('deliveryNotificationNumbers', [
        middleParam.deliveryNotificationNumbers,
      ]);
      query();
    }
  }
}, [location]);

history.action: POP(初始化),REPLACE(返回按钮),PUSH(路由跳转)